from django.contrib import admin


class UnderwriterAdmin(admin.ModelAdmin):
    # 需要显示的字段信息
    list_display = ('id', 'title')
    list_display_links = ('id', 'title')


# Register your models here.
from .models import Project, ProjectDetailImg, ProjectComment

admin.site.register(Project, UnderwriterAdmin)
admin.site.register(ProjectDetailImg)
admin.site.register(ProjectComment)
